package com.wj.console.hello.controller;
import java.util.HashMap;
import java.util.Map;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class StudentController {
	
	@RequestMapping(value="/hello",produces = "application/json; charset=utf-8")
	public Object hello(){
		Map<String, Object> a = new HashMap<String, Object>();
		a.put("aff", "asdfd");
		a.put("affaa", "第三方");
		String aa="王珏";
		return a;
	}
	
	@RequestMapping(value="/hello_charCode")
	public Object hello_charCode(){
		Map<String, Object> a = new HashMap<String, Object>();
		a.put("aff", "asdfd");
		a.put("affaa", "第三方");
		String aa="王珏";
		return aa;
	}
}
